<?php 
/**
 * 菜单
 */
include_once 'common_mbs.inc.php';
include_once './smarty.inc.php';

$module_id = intval($_GET['openitem']);
if (!$module_id > 0)
{
	exit;
}
global $_ADMIN_ID;
$admin_index_module_func = new osgh_admin_index_module_cls();
$moduleList2 = $admin_index_module_func->getAdminIndexModuel($_ADMIN_ID, 2, $module_id);

foreach($moduleList2 as &$module)
{
	$mc_admin_module_obj = new osgh_admin_module_tbl_cls();
	$parent_info = $mc_admin_module_obj -> getAdminModuleInfo($module['parent_id'], 'module_code');
	$module['parent_code'] = $parent_info['module_code'];
}
//echo "<pre>";print_r($moduleList2);exit;
?>

<!-- Item 2 Strat -->
<dl class='bitem'><dt onClick='showHide("items1_<?php echo $module_id; ?>")'><b>常用操作</b></dt>
<dd style='display:block' class='sitem' id='items1_<?php echo $module_id; ?>'>
<ul class='sitemu'>
<?php 
foreach ($moduleList2 as $moduleInfo2)
{
?>
<li><a href='<?php echo $moduleInfo2['parent_code'];?>/<?php echo $moduleInfo2['module_code']; ?>.php' target='main'><?php echo $moduleInfo2['module_name']; ?></a></li>
<?php 
}
?>
</ul>
</dd>
</dl>
